<include file="App/Home/View/Public/header.html"/>  
<style type="text/css">
.user {
	width: 97%;
	margin: 0px auto;
}
.user-nav {
}
.user-nav a {
	display: inline-block;
	float: left;
	padding: 7px 20px;
	margin-left: 10px;
	color: #0B72A4;
}
.user-nav a.cur {
	background: #fff;
	border: 1px solid #ddd;
	border-bottom: 0px;
}
.user-info {
	padding: 20px 0px;
	font-size: 16px;
	border: 1px solid #ddd;
}
.user-info dl {
	display: block;
	width: 99%;
	margin: 0px auto;
	zoom: 1;
	overflow: hidden;
}
.user-info dl dt, .user-info dl dd {
	float: left;
	padding: 15px 10px;
}
.user-info dl dt {
	clear: both;
	width: 10%;
}
.user-info dl dd {
	width: 70%;
}
.user-info dl dd input[type='radio'] {
	margin-left: 20px;
}
.user-info input[type='text'], .user-info input[type='password'] {
	width: 100px;
	height: 30px;
	line-height: 30px;
	border: 1px solid #ccc;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
}
.user-info table {
	width: 100%;
	border: 1px solid #ccc;
	border-bottom: 0px;
}
.user-info th, .user-info td {
	padding: 10px 10px;
	border-bottom: 1px solid #ccc;
	text-align: right;
}
.user-info h3 {
	text-indent: 15px;
	padding: 15px 0px;
}
.sub {
	display: inline-block;
	font-weight: 700;
	font-size: 16px;
	color: white;
	text-align: center;
	width: 170px;
	height: 32px;
	line-height: 32px;
	background: #FF8C19;
	margin-top: 10px;
}
.sub:hover {
	color: #fff;
	text-decoration: none;
}
.banktable td {
	padding: 0px;
}
.onlineRecharge .onlineRechargeContent .numberBlock{ width:350px}
.mainBox2 h3 {
  font-size: 20px;
  font-weight: bold;
  color:#E32222;
  padding-left:0px;
}
.content {
  padding: 10px;
  padding-top: 0px;
}
.input {
  border: 1px solid #DDD;
  padding: 2px;
  font: 12px/150% Arial,"Lucida Grande",Verdana,Helvetica,sans-serif;
  color: #333;
}
.content #button_10:hover{ background-color:#286090 !important;}
.selecttabboxNew li{float:none;line-height: 19px;}
</style>
<script src="js/index.js"></script>
<!--主体内容开始-->
<div id="account-main" role="main">
  <div class="container account-content">
    <div class="row">
      <include file="App/Home/View/Public/left.html"/>
      <!--右侧内容开始-->
      <div class="col-xs-9 account-right">
	  <h3>人民币充值</h3>
          <div class="qh_tab">
            <div class="qh_tab_a">支付宝充值</div>
            <div class="qh_tab_b" ><a href="{:U('User/pay1')}" style="text-decoration:none">银行卡充值</a></div>
            <div class="qh_tab_c"><a href="{:U('User/pay2')}" style="text-decoration:none">微信充值</a></div>
            <a href="{:U('Help/index',array('id'=>'62'))}" style="color:#3259da">充值汇款帮助？</a>
          
          </div>
          <div class="qh_block">
            <div class="qh_block_a">
              <div>
                <h4 style="color:black;font-size:16px;font-weight:600;">注意事项：</h4>
                <p style="font-size:14px;">1.此方式仅接受<span style="color:#008fff">{$config['pay_min_money']|default='0'}元以上（含）</span>的支付宝汇款，充值没有手续费。</p>
                <p style="font-size:14px;">2.您需先填写汇款金额和账号并提交订单，然后向我们指定的支付宝账号进行汇款。</p>
                <p style="font-size:14px;">3.汇款金额会自动生成小数点，汇款时请按照提交金额进行汇款<span style="color:#008fff">（含小数点）</span>。</p>
              </div>
              
                <input type="hidden" id="type1" name="type1" value="1" >
                <table width="700px" style="border-collapse:collapse;margin-top:40px" border="0" cellpadding="1" cellspacing="1" id="aaa">
                    <tr>
                      <td height="30"  class="tdwp" style="vertical-align:top;width:87px !important;font-size:14px;padding-top:15px;">转账金额(￥):</td>
					  
                      <td >
                        <input value="{$config['pay_min_money']}" id="p3_Amt2" name="p3_Amt2" type="text" onblur="zuixiao();bbb();limit();pay_amount()"  style="border:1px solid #CCCCCC;height:40px;line-height:35px; width:353px;background:#FAFAFA;padding-left:5px" size="15" class="qh_input1" />您的今日充值额度还有{$limit}<br>
						<div style="margin-top:10px"><span style="color:red">汇款金额(￥)：</span><input type="text" readonly="readonly" id="p3_Amt1" name="p3_Amt1">
                        <span style="color:#008fff;font-size:14px;">请严格按照左侧金额汇款</span></td></div>
                    </tr> 
                  </table>
                    <script type='text/javascript'>
					function limit(){
					var num=$('#p3_Amt2').val();
					if(num>{$limit}){
					alert("超出限额");
					$('#p3_Amt2').val("");
					
					}
					}
					function bbb(){
                    var num=$('#p3_Amt2').val();
                    var num_p=parseFloat(num);
					$('#p3_Amt2').val(num_p);
					}
					function zuixiao(){
					var num=$('#p3_Amt2').val();
                    if(num<{$config['pay_min_money']}){
					$('#p3_Amt2').val({$config['pay_min_money']});
					}

					}
                    function pay_amount(){
					
                      var num = $('#p3_Amt2').val();
					  if(num!=""){
					  var rand=RandomNum(0,99);
					  num_s = parseInt(num)+parseFloat(rand/100);
					  	
					  $('#p3_Amt1').val(num_s);

                    }}
					function RandomNum(Min,Max){
						var Range = Max - Min;
						var Rand = Math.random();  
						var num = Min + Math.round(Rand * Range);
						return num;
					}
                  </script>
                  <table width="700px" style="border-collapse:collapse;margin-top:15px" border="0" cellpadding="1" cellspacing="1" id="aaa">
            <tr>
              <td height="30"  class="tdwp" style="vertical-align:top;width:87px !important;font-size:14px;padding-top:15px;">&nbsp;&nbsp;&nbsp;汇款人姓名:</td>
              <td >

                <input   type="text"  disabled="disabled"  style="border:1px solid #CCCCCC;height:40px;line-height:20px; width:360px;background:#FAFAFA;padding-left:5px;font-size:14px;" size="15" placeholder="{$member.name}" class="qh_input2"/><br>
         <input  type="hidden" id="member_name1" name="member_name1" value="{$member.name}"  />


                <span style="color:#008fff;font-size:14px;">只允许使用本人的支付宝进行转账充值</span></td>

            </tr> 
        </table>


        <table width="700px" style="border-collapse:collapse;margin-top:15px" border="0" cellpadding="1" cellspacing="1" id="aaa">
            <tr>
              <td height="30"  class="tdwp" style="vertical-align:top;width:87px !important;font-size:14px;padding-top:15px;">&nbsp;&nbsp;&nbsp;支付宝账号:</td>

              <td >
                <input placeholder="请输入您的支付宝账号" id="account1" name="account1" type="text" onclick="pay_amount()" onkeyup="var num_ac = $(this).val()*(1-{$config['huanxun_fee']});$('#actual').html(num_ac);"  style="border:1px solid #CCCCCC;height:40px;line-height:20px; width:353px;background:#FAFAFA;padding-left:5px;font-size:14px;" onkeyup="clearNoNum(this);" size="15" class="qh_input1"/><br>
                <span style="color:#008fff;font-size:14px;">请在这里填写您汇款所使用的支付宝账号</span></td>

            </tr> 
        </table>
        <input type="button" value="提&nbsp;&nbsp;交"  class=" btn btn-default anniu_01" onclick="aaaa()" id="SubTran"  style="background:#008fff;color:white;width:120px;height:40px;font-weight:600;font-size:18px;margin-left:354px;margin-top:10px" >
        <br><br>
		<p style="color:red">提示：您充值时需在备注里写明您的ID，以便确认！！</p><p style="color:red">您的ID是:<span style="font-size:20px">{$Think.session.USER_KEY_ID}</span></p>
        <p style="margin-top:50px;font-size:22px;color:#008fff;font-weight:600">请您在提交完成后将准确的金额汇入如下账号</p>
        <div style="background:#FAFAFA;width:660px;padding:20px;padding-bottom:5px;margin-top:15px">

          <!-- <p><span style="color:gray;font-size:16px;">开户行：</span><span style="font-size:18px">{$bank[1]['bank_adddress']|default='暂无'}</span></p><br> -->
          <!-- <p style="margin-bottom:10px"><span style="color:gray;font-size:16px;">姓&nbsp;&nbsp;&nbsp;名：</span><span style="font-size:18px">{$config.alipay_name}</span></p>
          <p><span style="color:gray;font-size:16px;">支付宝账号：</span><span style="font-size:32px;color:#008fff;">{$config.alipay_num}</span></p> -->
		  <p><span style="color:gray;font-size:16px;">支付宝二维码：</span><img src="{$config.alipay_picture}"></p>
        </div>

        <div class="qh_record">
          <div class="qh_record_title">
            <p style="font-size:17px;color:#008fff;font-weight:600;display:inline-block;width:11%;">&nbsp;&nbsp;&nbsp;充值记录</p>
            <span style="font-size:14px;color:#FF1917;">超过3个小时的汇款订单将失效，请重新生成汇款订单并汇款。</span>
            <span style="font-size:14px;"><a href="{:U('Help/index?id=62')}" style="color: #2875CA;">充值不到账如何处理？</a></span>
          </div>
          <div class="qh_record_table">
            <table>
              <tr >
                <td style="width:15%;font-size:14px;">订单号</td>
                <td style="width:10%;font-size:14px;">充值金额</td>
                <td style="width:20%;font-size:14px;">充值账号</td>
                <td style="width:15%;font-size:14px;">充值时间</td>
				<td style="width:10%;font-size:14px;">充值类型</td>
                <td style="width:10%;font-size:14px;">状态</td>
				<td style="width:20%;font-size:14px;">操作</td>
              </tr>
         <volist name='list' id='vo' key='key'>
        <tr >
		<input type="hidden" value="{$vo.pay_id}" id="pay_id">

        <td>{$vo.add_time|date='YmdHi',###}</td>
        <!-- <td><eq name="vo.type" value="1">人工充值<else/>网银充值</eq></td> -->
        <td>{$vo.money|default=0}</td>
        <td>{$vo.account}</td>
        <td>{$vo.add_time|date='Y-m-d H:i:s',###}</td>
		<td >
          <eq name="vo.type" value="1">支付宝</eq>
          <eq name="vo.type" value="2">银行卡</eq>
          <eq name="vo.type" value="3">微信</eq>
          
        </td>
        <td style="color:#FE7321">
          <eq name="vo.status" value="1">充值成功</eq>
          <eq name="vo.status" value="0">等待银行到帐</eq>
          <eq name="vo.status" value="-1">充值失败</eq>
          <eq name="vo.status" value="2">充值失败</eq>
		  <eq name="vo.status" value="3">取消充值</eq>
        </td>
		<td>
		<a  <neq name="vo['status']" value="0"> style="display:none"</neq> style="cursor:pointer" onclick="if(confirm('确定删除?')==false)return false;cancel({$vo.pay_id})">取消</a> &nbsp;&nbsp;                         
		<a  <neq name="vo['status']" value="0"> style="display:none"</neq> style="cursor:pointer"  onclick="aaa({$vo.pay_id},{$vo.type})">查看</a>
		</td>
        </tr>
      </volist>
            </table>
      
          </div>
          		 <div class="row new-page">
		<div class="col-sm-12 text-center">
		<ul class="" style="margin-top: 10px;">
<li ><span class="fenye">
				{$page}
				</span>
				</li>
				</ul>
		</div>
		</div> 
    </div>
	<script>
	$('.fenye div span').css({display:"inline-block",width:"40px",
		textAlign:"center",background:'#008fff',fontWeight:'bold'})
	$('.fenye div a').css({display:"inline-block",width:"40px",
		textAlign:"center",background:''})
</script>
		<script>
		
		function aaaa(){
         var num =$("#account1").val();
			if(num==""){
			alert("请填写全部信息");
			return false;
		}
         
            layer.open({
                type: 1,
                area: ['700px', '450px'],
                title:'转账',
                //shadeClose: true, //点击遮罩关闭
                content: '<div style="width: auto;font-size: 16px;background: #f2fafe;height: 45px;line-height: 45px;margin: 10px 20px;color: #08a3d7;">请您打开您的支付宝按照汇款金额汇款或扫描右侧二维码转账</div><div  style="position: relative;"> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;">汇入支付宝账号:</span><span style="float: left;display: block;">'+{$config.alipay_num}+'</span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"><span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;">收款人:</span><span style="float: left;display: block;">'+"{$config.alipay_name}"+' </span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;" >充值金额:</span><span class="float: left;display: block;color: #fd0202;">'+$("#p3_Amt1").val()+'</span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;">充值账号:</span><span class="float: left;display: block;color: #fd0202;">'+$("#account1").val()+'</span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;color:red">充值ID:</span><span style="float:left;display:block;color:red;">'+{$Think.session.USER_KEY_ID}+'</span> </p><p style="color: red;text-align: center;padding-right: 5px;">提示：充值时需在备注里写明您的ID，以便确认！</p><a onclick="tijiao1()" style="cursor:pointer;height: 30px;line-height: 30px;text-align: center;color: #fff;background: #0096e0;display: table;margin: 10px auto;border-radius: 3px;width: 90px;">确认</a> <img src='+"{$config.alipay_picture}"+' width="150" height="150" alt="" style="position: absolute;right: 90px;top: 0px;width: 120px;height: 120px;"/> </div>'
            });
		
    }
//    layui.use('layer', function(){ //独立版的layer无需执行这一句
//        var $ = layui.jquery, layer = layui.layer; //独立版的layer无需执行这一句

        //触发事件
function aaa(a,b){
         $.post("{:U('User/check')}",{'pay_id':a,'type':b},function(data){
         
            layer.open({
                type: 1,
                area: ['700px', '350px'],
                title:'转账',
                //shadeClose: true, //点击遮罩关闭
                content: '<div style="width: auto;font-size: 16px;background: #f2fafe;height: 45px;line-height: 45px;margin: 10px 20px;color: #08a3d7;">请您打开您的支付宝按照汇款金额汇款或扫描右侧二维码转账</div><div  style="position: relative;"> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;">汇入支付宝账号:</span><span style="float: left;display: block;">'+data.num+'</span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"><span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;">收款人:</span><span style="float: left;display: block;">'+data.name+' </span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;" >充值金额:</span><span class="float: left;display: block;color: #fd0202;">'+data.money+'</span> </p> <p style=" height: 25px;line-height: 25px;margin-bottom: 10px;margin-left: 50px;"> <span style="width: 125px;text-align: right;padding-right: 5px;float: left;display: block;">备注充值单号:</span><span class="float: left;display: block;color: #fd0202;">'+data.order+'</span> </p> <a href="#" class="dj" style="height: 30px;line-height: 30px;text-align: center;color: #fff;background: #0096e0;display: table;margin: 10px auto;border-radius: 3px;width: 90px;">确认</a> <img src="'+data.picture+'" width="150" height="150" alt="" style="position: absolute;right: 90px;top: 0px;width: 120px;height: 120px;"/> </div>'
            });
		}
    )}
	$(document).on('click', '.dj', function() {

			$(".layui-layer-shade").hide();
            $(".layui-layer").hide();
        });

		</script>
<script>
function tijiao1(){

$.post("{:U('Pay/rechargeByMan')}",{'type':$("#type1").val(),'p3_Amt':$("#p3_Amt1").val(),'member_name':$("#member_name1").val(),'account':$("#account1").val()},function(arr){
if(arr['status']==1){

window.location.reload();
}else{
alert(arr['info']);
     }
}
)}
</script>
<script>
function cancel(a){

$.post("{:U('User/cancel')}",{'pay_id':a},function(arr){
if(arr['status']==1){
alert(arr['info']);
window.location.reload();
}else{
alert(arr['info']);
     }
}
)}
</script>

      </div>
<!--  -->
    </div>
  </div>
 
        <!--<table width="96%" border="0" cellpadding="0" cellspacing="5">
          <tr >
            <td align="left" style="padding-top:10px;"><strong class="STYLE1">在线冲值说明：</strong></td>
          </tr>
          <tr>
            <td align="left"><span class="font-hblack"><span >
              <div style=" line-height:22px; font-size:12px;"> (1).请按表格填写准确的在线冲值信息,确认提交后会进入选择的银行进行在线付款! </div>
              <div style=" line-height:22px;font-size:12px;"> (2).交易成功后请点击返回支付网站可以查看您的订单信息! </div>
              <div style=" line-height:22px;font-size:12px;"> (3).如有任何疑问,您可以联系 在线客服,皇冠现金网为您提供365天×24小时不间断的友善和专业客户咨询服务! </div>
              <div style=" line-height:22px;font-size:12px;"> (4).注意：充值成功后，请不要急着关闭支付成功的跳转页面，否则有可能不会到帐。 </div>
              <div style=" line-height:22px;font-size:12px;"> (5).如需网银汇款/ATM转账或支付宝存款，请联系在线客服索取存款账号！ </div>
              </span> </span></td>
          </tr>
        </table>-->


<!--新加-->
        </div>
        <!--    <img src="/Public/Home/2h.jpg" />-->
</div>
  <!--<div style="margin-top: 3px;" class="entrustTen lasttenorder">
    <div class="Tentitle">

      <span class="lightblue4">充值记录</span>
    </div>
    <div class="coinBoxBody">
      <table width="100%">
        <tbody>
          <tr>  
              <th width="190">订单号</th>
              <th width="190">时间</th>
              <th width="180">充值方式</th>
              <th width="180">金额</th>
              <th width="180">状态</th>
            
            </tr>
          <volist name="list" id="vo" empty="$empty">
          <tr>
            <td>{$vo.tradeno} </td>
                    <td>{$vo.ctime|date="Y-m-d H:i:s",###}</td>
                     <td>支付宝手动充值</td>
                     <td>{$vo['num']}</td>
                    <td>{$vo.status_fill}</td>
          
          </tr>
          </volist>
        </tbody>
      </table>
    </div>

    <div class="page">
      <ul>
      <li><a href="{$path}/Fill/zhifu_add/page/1">首页</a></li>
      <li><a href="{$path}/Fill/zhifu_add/page/{$page-1}">上一页</a></li>
      <li><a href="{$path}/Fill/zhifu_add/page/{$page+1}">下一页</a></li>
      <li><a href="{$path}/Fill/zhifu_add/page/{$page_num}">尾页</a></li>
      </ul>
    </div>
  </div>-->
</div>
</div>
<div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>


      </div>
      <!--右侧内容结束-->
    </div>
  </div>
</div>
<!--主题内容结束--> 
<include file="App/Home/View/Public/footer.html"/>   
<div class="rightArea3">
	<div class="riskArea">
		<span class="icon"></span> 
    <span class="hinttext"> 
      <span class="define">{$art.title}</span>
      <span> {$art.content}</span> 
    </span>
	</div>
</div>
            

<!--新加-->
<style type="text/css">
  .qh_both{
    width: 950px;
    color: #676666;
    margin-left: 200px;
   
    background: white;
    padding-left:40px;
    padding-top: 40px;

    padding-bottom: 100px;
  }

  .qh_tab{
    width: 100%;
    height: 50px;
    overflow: hidden;
     text-align: right;
     margin-top: 40px;
  }
  .qh_tab_a,.qh_tab_b,.qh_tab_c{
    width: 160px;
    height: 100%;
    margin-right: 3px;
    
    float: left;
    background: #ebe7e5;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor:pointer;
    color: #7d7d7d;
  }
  .qh_tab_a{
    background:#008fff;
    color:white;
  }

  .qh_tab c{
    color: #5271DF;
    display: inline-block;
    margin-right: 40px;
    font-size: 16px;
  }

  .qh_block{
    padding-top: 30px;
  }
  .qh_block_a{

    display: block;
  }
  .qh_block_b{
    display: none;
  }
  .qh_block_c{
    display: none;
  }
  
   

  .qh_record{
    width: 95%;
    
   
    margin-top: 100px;
  }
  
  .qh_record_title p{
    margin-right: 188px;
  }
  .qh_record_table{
    width: 100%;
    margin-top: 5px;
  }
  .qh_record_table table{
    width: 100%;
    border: 1px solid #ddd;
  }
  .qh_record_table table td{
    padding-top: 10px;
    padding-bottom: 10px;
    
  }
  
  
  .qh_record_table table tr{
    text-align: center;
  }
  .qh_record_table table tr:first-child{
    background: #f9f9f9;
    
  }
  .qh_record_table table tr td{
    font-size: 12px;
  }
  .qh_table_img img{
    width: 152px;
    height: 30px;
    
  }
  .sub{
    
    top: 64px;
  }
  .qh_sub{
    background: white;
  }
  
  /*input[placeholder], [placeholder], *[placeholder]{
    color: red !important;
  }*/
 
  
  input.qh_input1::-webkit-input-placeholder{ /*WebKit browsers*/

    color: #8e8d8d;

  }

  input.qh_input1::-moz-input-placeholder{ /*Mozilla Firefox*/

    color: #8e8d8d;

  }

  input.qh_input1::-ms-input-placeholder{ /*Internet Explorer*/ 

    color: #8e8d8d;

  } 



  input.qh_input2::-webkit-input-placeholder{ /*WebKit browsers*/

    color: #202020;

  }

  input.qh_input2::-moz-input-placeholder{ /*Mozilla Firefox*/

    color: #202020;

  }

  input.qh_input2::-ms-input-placeholder{ /*Internet Explorer*/ 

    color: #202020;

  } 



  input.qh_input3::-webkit-input-placeholder{ /*WebKit browsers*/

    color: #fd0107;

  }

  input.qh_input3::-moz-input-placeholder{ /*Mozilla Firefox*/

    color: #fd0107;

  }

  input.qh_input3::-ms-input-placeholder{ /*Internet Explorer*/ 

    color: #fd0107;

  } 


</style>


		
      
    <!-- /////////////////////////////////////////////////////////////////////////////// -->
    
       


<script>
		/*var $ = function(Id){
            return document.getElementById(Id);
        }*/
    
       
        //数字验证 过滤非法字符
        function clearNoNum(obj){
	        //先把非数字的都替换掉，除了数字和.
	        obj.value = obj.value.replace(/[^\d.]/g,"");
	        //必须保证第一个为数字而不是.
	        obj.value = obj.value.replace(/^\./g,"");
	        //保证只有出现一个.而没有多个.
	        obj.value = obj.value.replace(/\.{2,}/g,".");
	        //保证.只出现一次，而不能出现两次以上
	        obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
	        if(obj.value != ''){
	        var re=/^\d+\.{0,1}\d{0,2}$/;
                  if(!re.test(obj.value))   
                  {   
			          obj.value = obj.value.substring(0,obj.value.length-1);
			          return false;
                  }else{
					  $("#p3_my").val($("#p3_Amt").val()/6.5);
				  }
	        }
        }
<!--
//去掉空格
function check_null(string) { 
var i=string.length;
var j = 0; 
var k = 0; 
var flag = true;
while (k<i){ 
if (string.charAt(k)!= " ") 
j = j+1; 
k = k+1; 
} 
if (j==0){ 
flag = false;
} 
return flag; 
}
function VerifyData() {

var min_num={$config.huanxun_min_money};
if (document.form1.p3_Amt.value == "") {
			alert("请输入存款金额！")
			document.form1.p3_Amt.focus();
			return false;
}
if (document.form1.p3_Amt.value !="") {
		  if(document.form1.p3_Amt.value <min_num )
		  {
			alert("充值不能小于"+min_num+"元！")
			document.form1.p3_Amt.focus();
			return false;
		  }
}
}
	function url(s){
	location.href="<?=substr($_SERVER['HTTP_REFERER'],0,strlen($_SERVER['HTTP_REFERER'])-12) ?>/"+s;
	}
	
	
</script>
<script>
	$(function(){
		//alert(234);
		var type = {$Think.get.type};
			//alert(type);
		if( type == 1){
			$('.qh_tab_a').click();
		}else if(type==2){
			$('.qh_tab_b').click();
		}
	})
	
</script>

<script>
$(".menu12").addClass("uc-current");
</script>